package models.domain;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class Address {

	@Column(name = "street", length = 50)
	private String Street;
	@Column(name = "number", length = 50)
	private String number;
	@Column(name = "zipCode", length = 50)
	private String zipCode;

	public Address() {
		super();
	}

	public Address(String street, String number, String zipCode) {
		super();
		Street = street;
		this.number = number;
		this.zipCode = zipCode;
	}

	public String getStreet() {
		return Street;
	}

	public void setStreet(String street) {
		Street = street;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

}
